package com.yb.core.web.annotation;

import com.yb.core.web.config.CorsConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/11 12:30
 * FileName: annotation
 * Description:
 */
@Target(value = {ElementType.TYPE,ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({CorsConfig.class})
public @interface EnableCors {
}
